package com.hk.service.order;

import java.util.List;

import com.hk.commons.HqlFilter;
import com.hk.commons.entity.product.HistoryPayment;
import com.hk.commons.entity.product.Payment;

public interface IHistoryPayment {
	public HistoryPayment findById(long id);

	/**
	 * 保存
	 * 
	 * @param b
	 * @return
	 */
	//public void add(int company,String paymentType,String oldBankNo,String NewBankNo,Long userId);
	public void add(HistoryPayment historyPayment);

	/**
	 * 更新
	 * 
	 * @param b
	 */
	public void update(HistoryPayment u);

	public List<HistoryPayment> findByFilter(HqlFilter hqlFilter, int pageNum,
			int pageSize);

	public List<HistoryPayment> findByFilter(HqlFilter hqlFilter);
}
